home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group03a.txt / 000086_icon-group-sender_Fri Aug 8 12:31:59 2003.msg < prev    next >
Internet Message Format  |  2003-12-22  |  1KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id h78JVHL17746
  4.     for icon-group-addresses; Fri, 8 Aug 2003 12:31:17 -0700 (MST)
  5. Message-Id: <200308081931.h78JVHL17746@baskerville.CS.Arizona.EDU>
  6. From: gmt@cs.arizona.edu (Gregg Townsend)
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: pre-processing?
  9. Date: 8 Aug 2003 08:53:13 -0700
  10. To: icon-group@cs.arizona.edu
  11. X-Spam-Status: No, hits=-1.0 required=5.0
  12.     tests=QUOTED_EMAIL_TEXT,REFERENCES
  13.     version=2.55
  14. X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
  15. Errors-To: icon-group-errors@cs.arizona.edu
  16. Status: RO
  17.  
  18. > Do I recall correctly that in the dim distant past you could pre-process the
  19. > Icon source through m4 or similar?
  20.  
  21. Yes.  That was before Icon had its own preprocessor ($define, $if, etc.).
  22.  
  23. > Can I do that now? I want to embed simple timestamps into the files each
  24. > time they are compiled. Are there any new &keywords I'm missing that perform
  25. > this duty? [not the runttime time, but the build time and a few other
  26. > obvious facts]
  27.  
  28. You can run m4 manually, but it's no longer an option to icont.
  29. There's nothing in Icon that will give you that timestamp.
  30.  
  31. ---------------------------------------------------------------------------
  32. Gregg Townsend         Staff Scientist      The University of Arizona
  33. gmt@cs.arizona.edu     Computer Science     Tucson, Arizona, USA
  34.  
  35.